package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("blog_img")
public class BlogImg extends Model<BlogImg> implements Serializable {


    /**
     * 日志图片ID
     */
    @TableId(value = "blog_img_id", type = IdType.AUTO)
    private Integer blogImgId;

    @TableField("blog_id")
    private Integer blogId;

    @TableField("resource_img_id")
    private Integer resourceImgId;

    public Integer getBlogImgId() {
        return blogImgId;
    }

    public BlogImg setBlogImgId(Integer blogImgId) {
        this.blogImgId = blogImgId;
        return this;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public BlogImg setBlogId(Integer blogId) {
        this.blogId = blogId;
        return this;
    }

    public Integer getResourceImgId() {
        return resourceImgId;
    }

    public BlogImg setResourceImgId(Integer resourceImgId) {
        this.resourceImgId = resourceImgId;
        return this;
    }

    @Override
    public String toString() {
        return "BlogImg{" +
                "blogImgId=" + blogImgId +
                ", blogId=" + blogId +
                ", resourceImgId=" + resourceImgId +
                "}";
    }
}
